/*****************************************************************************
 * Copyright (C) Stacy Curl. All rights reserved.                            *
 * ------------------------------------------------------------------------- *
 * The software in this package is published under the terms of the BSD      *
 * style license a copy of which has been included with this distribution in *
 * the LICENSE.txt file.                                                     *
 *****************************************************************************/
package picounit.features.test_factory;

import java.lang.reflect.Method;

// TODO: Move this further up, along with TestFinder perhaps, and publish more events, for instance
// the status persister can receive one of the events
interface TestListener {
	void testPrepared();
	void testStarted(String testClass, String testName);
	void testFinished(String testClass, String testName);

	void addFailure(Class testClass, Method testMethod);
	void addError(Class testClass, Method testMethod);
}
